package com.dreamoriole.dao.impl;

import java.util.List;

import com.dreamoriole.POJO.FinanceExercise;
import com.dreamoriole.dao.IFinanceExerciseDao;

public class FinanceExerciseDaoImpl extends FinanceObjectDaoImpl implements IFinanceExerciseDao {

	public void deleteExercise(FinanceExercise exercise) {
		super.deleteObject(exercise);
	}

	public FinanceExercise getExercise(String hql) {
		return (FinanceExercise)super.getObject(hql);
	}

	public List getExercises(String hql) {
		return super.getObjects(hql);
	}

	public void saveExercise(FinanceExercise exercise) {
		super.saveObject(exercise);
	}

	public void updateExercise(FinanceExercise exercise) {
		super.updateObject(exercise);
	}

}
